package com.bawei.usergroup.view;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.bawei.mvvmcomm.mvvm.view.BaseActivity;
import com.bawei.usergroup.BR;
import com.bawei.usergroup.R;
import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bawei.usergroup.databinding.ActivityResetBinding;
import com.bawei.usergroup.viewmodel.ResetPwdViewModel;

@Route(path = "/usergroup/resetctivity")
public class ResetActivity extends BaseActivity<ActivityResetBinding, ResetPwdViewModel> {
    @Override
    protected boolean isFullScreen() {
        return false;
    }
    @Override
    protected int setColor() {
        return R.color.common_blue;
    }
    @Override
    protected int initVariable() {
        return BR.vm;
    }

    @Override
    public int bindLayout() {
        return R.layout.activity_reset;
    }

    @Override
    protected void onResume() {
        super.onResume();
        Bundle bundle = getIntent().getExtras();
        String phone = bundle.getString("phone");
        String verify = bundle.getString("verify");
        vm.phone = phone;
        vm.verify = verify;
    }
}